package com.demo.transaction.lcn.common.spring;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "lcn-service-b",fallback = ServiceBFallback.class)
public interface ServiceBClient {
    @GetMapping("/rpc")
    String rpc(@RequestParam("value") String name);
}
